import Vue from 'vue'
import 'element-ui/lib/theme-chalk/index.css'
import {
  Link,Image,Dropdown,DropdownMenu,DropdownItem,Button,
  Form,FormItem,Input,Container,Header,Aside,Main,Menu,
  Submenu,MenuItem,Row,Col,Table,TableColumn,Switch,Message,
  Tooltip,Pagination,Dialog,MessageBox,Select,Option,Alert,Tabs,TabPane,
  Upload,Loading,Drawer,Popover,Checkbox,Calendar,Divider,Card
} from 'element-ui'


Vue.use(Link).use(Image).use(Dropdown).use(DropdownMenu).use(DropdownItem).use(Button)
Vue.use(Form).use(FormItem).use(Input).use(Container).use(Header).use(Aside).use(Main).use(Menu)
Vue.use(Submenu).use(MenuItem).use(Row).use(Col).use(Table).use(TableColumn).use(Switch)
Vue.use(Tooltip).use(Pagination).use(Dialog).use(Select).use(Option)
Vue.use(Alert).use(Tabs).use(TabPane).use(Checkbox).use(Calendar).use(Card)
Vue.use(Upload).use(Loading).use(Drawer).use(Popover).use(Divider)

Vue.prototype.$message  = Message
Vue.prototype.$confirm = MessageBox.confirm